package com.guangzi.service.impl;

import com.guangzi.entity.Jklx;
import com.guangzi.mapper.JklxDao;
import com.guangzi.service.AbstractService;
import com.guangzi.service.JklxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class JklxServiceImpl extends AbstractService implements JklxService {

    private JklxDao jklxDAO;

    @Autowired
    public void setJklxDAO(JklxDao jklxDAO) {
        super.setBaseDAO(jklxDAO);
        this.jklxDAO = jklxDAO;
    }

    @Override
    public void updateState(Jklx jklx) {
        jklxDAO.updateState(jklx);
    }
}
